package com.healthcloud.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Sephy
 * @since: 2015-05-09
 */
public abstract class BaseEntity extends IdEntity implements Serializable {

	protected Date createdTime;

	protected Date updatedTime;

	public BaseEntity() {
	}

	public BaseEntity(Long id, Date createdTime, Date updatedTime) {
		super(id);
		this.createdTime = createdTime;
		this.updatedTime = updatedTime;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}
}
